<!DOCTYPE html>
<html lang="en" xmlns="http://java.sun.com/jsf/facelets">
<head>
    <meta charset="utf-8"/>
    <title>DrugManage | 登录-注册</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta content="" name="description"/>
    <meta content="" name="author"/>
    <link href="${ctx}/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/css/uniform.default.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/css/login.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${ctx}/js/jquery.min.js"></script>
    <script type="text/javascript" src="${ctx}/js/common.js"></script>
    <script type="text/javascript" src="${ctx}/js/index.js"></script>
    <#include "common.ftl" >
    <!-- BEGIN BODY -->
<body class="login">
<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
<div class="menu-toggler sidebar-toggler">
</div>
<!-- END SIDEBAR TOGGLER BUTTON -->
<!-- BEGIN LOGO -->
<div class="logo">
    <a href="index.html">
        <img src="resources/admin/layout2/img/logo-big.png" alt=""/>
    </a>
</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
    <!-- BEGIN LOGIN FORM -->
    <h3 class="form-title">药品管理系统登录</h3>
    <div class="alert alert-danger display-hide">
        <button class="close" data-close="alert"></button>
        <span>
			用户名</span>
    </div>
    <div class="form-group">
        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
        <label class="control-label visible-ie8 visible-ie9">手机号</label>
        <input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off"
               placeholder="用户名" id="userName1" name="userName1"/>
    </div>
    <div class="form-group">
        <label class="control-label visible-ie8 visible-ie9">密码</label>
        <input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off"
               placeholder="密码" id="userPwd" name="userPwd"/>
    </div>

    <div class="form-actions">
        <button onclick="toLogin()" class="btn btn-success uppercase btn-xs btn-block">登录</button>
    </div>

    <div class="create-account">
        <p>
            <a href="javascript:openRegisterDialog()" class="easyui-linkbutton"
               data-options="plain:true,iconCls:'icon-modifyPassword'" style="width: 150px;">注册</a>
        </p>
    </div>
    <!-- END LOGIN FORM -->
</div>
<div id="dlg" class="easyui-dialog" style="width:400px;height:250px;padding: 1px 1px"
     closed="true" buttons="#dlg-buttons">

    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>用户名：</td>
                <td><input type="text" id="userName" name="userName" class="easyui-validatebox" required="true"
                           style="width: 200px"/></td>
            </tr>
            <tr>
                <td>手机号：</td>
                <td><input type="text" id="mobile" name="mobile" class="easyui-validatebox" required="true"
                           style="width: 200px"/></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" id="password" name="password" class="easyui-validatebox" required="true"
                           style="width: 200px"/></td>
            </tr>
            <tr>
                <td>确认密码：</td>
                <td><input type="password" id="confirmPassword" name="confirmPassword" class="easyui-validatebox" required="true"
                           style="width: 200px"/></td>
            </tr>
        </table>
    </form>
</div>
<div id="dlg-buttons">
    <a href="javascript:toRegister()" class="easyui-linkbutton" iconCls="icon-ok">注册</a>
    <a href="javascript:closeRegisterDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
<div class="copyright">
    安徽中医药大学地址：安徽省合肥市磨店乡瑶海区 咨询电话：021-8888888<br/>
    安中医智能科技有限公司 的icp备案号 （皖ICP备16053543号）
</div>

<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>